package com.etc.entity;

import org.springframework.stereotype.Component;

@Component
public class RoomInfo {

    private String roomId;          //房间编号
    private int roomNum;            //房间号
    private RoomType roomType;      //房间类型信息(表)
    private int roomStatus;         //房间状态(0,可用  1,已入住  2已预约  3,停用)
    private String roomFloog;       //所处位置
    private String roomTel;         //房间电话
    private String roomImg;         //房间图片
    private String remark;          //备注

    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    public int getRoomNum() {
        return roomNum;
    }

    public void setRoomNum(int roomNum) {
        this.roomNum = roomNum;
    }

    public RoomType getRoomType() {
        return roomType;
    }

    public void setRoomType(RoomType roomType) {
        this.roomType = roomType;
    }

    public int getRoomStatus() {
        return roomStatus;
    }

    public void setRoomStatus(int roomStatus) {
        this.roomStatus = roomStatus;
    }

    public String getRoomFloog() {
        return roomFloog;
    }

    public void setRoomFloog(String roomFloog) {
        this.roomFloog = roomFloog;
    }

    public String getRoomTel() {
        return roomTel;
    }

    public void setRoomTel(String roomTel) {
        this.roomTel = roomTel;
    }

    public RoomInfo(String roomId, int roomNum, RoomType roomType, int roomStatus, String roomFloog, String roomTel, String roomImg, String remark) {
        this.roomId = roomId;
        this.roomNum = roomNum;
        this.roomType = roomType;
        this.roomStatus = roomStatus;
        this.roomFloog = roomFloog;
        this.roomTel = roomTel;
        this.roomImg = roomImg;
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "RoomInfo{" +
                "roomId='" + roomId + '\'' +
                ", roomNum=" + roomNum +
                ", roomType=" + roomType +
                ", roomStatus=" + roomStatus +
                ", roomFloog='" + roomFloog + '\'' +
                ", roomTel='" + roomTel + '\'' +
                ", roomImg='" + roomImg + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }

    public RoomInfo() {
    }

    public RoomInfo(String roomId, int roomStatus, String roomTel) {
        this.roomId = roomId;
        this.roomStatus = roomStatus;
        this.roomTel = roomTel;
    }
}
